(c-font-lock-declarations): Fix previous change.
authorEli Zaretskii <eliz@gnu.org>
Fri, 15 Dec 2006 12:12:00 +0000 (12:12 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 15 Dec 2006 12:12:00 +0000 (12:12 +0000)
lisp/progmodes/cc-fonts.el

index 8473eee90a27d3f812b46f6a5f9a22484b758911..ab31fa877f716be63832fa33ba71833c43cf5577 100644 (file)
@@ -1179,7 +1179,7 @@ casts and declarations are fontified.  Used on level 2 and higher."
          ;; The below code attempts to fontify the case constants in
          ;; c-label-face-name, but it cannot catch every case [sic].
          ;; And do we want to fontify case constants anyway?
-         nil
+         (c-forward-label t match-pos nil)
 ;;;      (when (c-forward-label t match-pos nil)
 ;;;        ;; Can't use `c-fontify-types-and-refs' here since we
 ;;;        ;; should use the label face.